import 'package:tender_flutter/generated/json/base/json_convert_content.dart';
import 'package:tender_flutter/generated/json/base/json_field.dart';

class ConsumptionEntity with JsonConvert<ConsumptionEntity> {
  int pageNum;
  int pageSize;
  int total;
  int pages;
  @JSONField(name: "list")
  List<ConsumptionList> xList;
  bool isFirstPage;
  bool isLastPage;
}

class ConsumptionList with JsonConvert<ConsumptionList> {
  String times;
  String orderNo;
  String pay;
  String expireDate;
  String id;
  String mark;
  String createDate;
  bool isPayed;
}
